package com.graduation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.common.domain.dto.PageDTO;
import com.graduation.pojo.po.Law;
import com.graduation.pojo.query.LawQuery;
import com.graduation.pojo.vo.LawVO;

public interface LawService extends IService<Law> {

    PageDTO<LawVO> pageLaws(LawQuery query);

    Law getLawById(Long id);

    void saveLaw(Law law);

    void updateLaw(Law law);

    void deleteLaw(Long id);

}
